package com.corecloud.entity;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 *
 * 权限
 * @author CCW
 * @email 452050507@qq.com
 * @date 2020-08-25 11:14:24
 */
@Data
@TableName("sys_permission")
public class SysPermissionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 地址
	 */
	private String url;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 是否启用0否 1是
	 */
	private Integer isValid;
	/**
	 * 父级菜单ID
	 */
	private Integer parentId;

	/**
	 * 权限类型：0菜单,1第三方连接,2其他
	 */
	private Integer type;

}
